package cn.ac.cintcm.synonymous;

import java.util.List;

public class SelectedDataSource implements PagedData {
    private String[][] data;
    
    public SelectedDataSource(List<String[]> data) {
        if (data != null) {
            this.data = data.toArray(new String[0][0]);;
        }
    }
    
    public String[][] getData() {
        return data;
    }

    public int getLength() {
        return data.length - 1;
    }

}
